<template>
  <BasicModal v-bind="$attrs" destroyOnClose title="支付记录" :helpMessage="['支付记录']" width="60%" :footer="null" @register="registerModal">
    <PayInfoIndex ref="payInfoIndex"></PayInfoIndex>
  </BasicModal>
</template>
<script lang="ts" setup>
import { getCurrentInstance } from 'vue';
import { BasicModal, useModalInner } from '@apps/antd-admin/src/components/modal';
import PayInfoIndex from '../payInfo/index.vue';
const ctx: any = getCurrentInstance();
const [registerModal, { setModalProps }] = useModalInner(async data => {
  let record = data.record;
  ctx.refs['payInfoIndex'].setSearchInfoProps(record.orderId);
});
</script>
